﻿using Adnc.Infra.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace WYT.Ord.Repository.Entities
{
    /// <summary>
    /// 优惠券使用记录
    /// </summary>
    [Table("ord_couponsLog"), Comment("优惠券使用记录")]
    public class UseCouponsLog : EfEntity
    {
        /// <summary>
        /// 订单Id
        /// </summary>
        [Comment("订单Id")]
        public long OrderId { get; set; }

        /// <summary>
        /// 优惠券ID
        /// </summary>
        [Comment("优惠券ID")]
        public long CouponsId { get; set; }

        /// <summary>
        /// 优惠券名称
        /// </summary>
        [Comment("优惠券名称")]
        public string CouponsName { get; set; }
        /// <summary>
        /// 优惠金额
        /// </summary>
        [Comment("优惠金额")]
        public decimal DiscountsMoney { get; set; }
    }
}
